package com.xpand.guava;


import com.google.common.collect.BiMap;
import com.google.common.collect.HashBiMap;

/**
 * @Author: wei.wang
 * @Description:
 * @Date 2017/12/27 17:51
 * @Modified
 */
public class BimapTest {
    public static void main(String[] args) {
        BiMap<String, Integer> bimap = HashBiMap.create();

        bimap.put("s1", 1);
        bimap.put("s2", 2);
        bimap.put("s3", 3);
        bimap.put("s4", 4);
        bimap.put("s5", 5);

        System.out.println(bimap);

    }
}
